@echo off
set filename=%1
if "%filename%"=="" (
    set filename="jmcapp"
)
if exist %filename%.jar (
    copy  %filename%.jar %filename%_lib /y
    DEL /F /A /Q %filename%.jar
)
java -jar %filename%_lib/%filename%.jar
